
package com.rt.schedulebase.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

@TableName("DICT_USER_ROLE")
public class DictUserRole implements Serializable
{
    @TableId(type=IdType.NONE)
    private String userId;
    private String roleId;
    public static final String USER_ID = "USER_ID";
    public static final String ROLE_ID = "ROLE_ID";
    
    public String getUserId() {
        return this.userId;
    }
    
    public String getRoleId() {
        return this.roleId;
    }
    
    public void setUserId(final String userId) {
        this.userId = userId;
    }
    
    public void setRoleId(final String roleId) {
        this.roleId = roleId;
    }
    
    @Override
    public String toString() {
        return "DictUserRole(userId=" + this.getUserId() + ", roleId=" + this.getRoleId() + ")";
    }

    protected boolean canEqual(final Object other) {
        return other instanceof DictUserRole;
    }
}
